package com.luoy.util;

/**
 * @author luoy
 * @date 2018/8/16 0016 下午 2:12
 * @Description: ${todo}
 */

/**
 * 单例模式
 *
 * @author LUOYUAN
 * @create 2018-08-16-下午 2:12
 */
class Single {
    private Single() {
    }

    private static class InnerSingle {
        private final static Single instance = new Single();
    }

    public static Single getSingle() {
        return InnerSingle.instance;
    }
}
